import axios from '@/libs/api.request'
// 添加党群中心信息
export const addDangQunZhongXiInfo = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/addPartyAndMassServiceCenter',
    data: data,
    method: 'post'
  })
}

// 修改单群服务中心信息
export const updateDangQunZhongXiInfo = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/updatePartyAndMassServiceCenter',
    data: data,
    method: 'post'
  })
}

// 查询党群服务中心列表
export const findDangQunZhongXiInfoList = (param) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/findPartyAndMassServiceCenterList',
    data: param,
    method: 'post'
  })
}

// 删除党群服务中心
export const deleteDangQunZhongXiInfo = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/deletePartyAMassServiceCenter',
    data: data,
    method: 'post'
  })
}

// 添加物业信息
export const addWuYeGuanLiInfo = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/addPartWyCompInfo',
    data: data,
    method: 'post'
  })
}

// 修改物业信息
export const updateWuYeGuanLiInfo = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/updatePartWyCompInfo',
    data: data,
    method: 'post'
  })
}

// 查询物业信息列表
export const findWuYeGuanLiList = (param) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/findPartWyCompInfoList',
    data: param,
    method: 'post'
  })
}

// 删除物业信息
export const deleteWuYeGuanLiInfo = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/deletePartWyCompInfo',
    data: data,
    method: 'post'
  })
}

// 添加党组织信息
export const addDangZuZhiInfo = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/addPartOrgInfo',
    data: data,
    method: 'post'
  })
}

// 修改党组织信息
export const updateDangZuZhiInfo = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/updatePartOrgInfo',
    data: data,
    method: 'post'
  })
}

// 查询党组织信息列表
export const findDangZuZhiList = (param) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/findPartOrgInfoList',
    data: param,
    method: 'post'
  })
}

// 删除党组织信息
export const deleteDangZuZhiInfo = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/deletePartOrgInfo',
    data: data,
    method: 'post'
  })
}

// 干事人员信息
export const selectSheQuGanShiInfo = (data) => {
  return axios.request({
    url: '/api/as/dq/partyandmassservice/selectTPartScEmplList',
    data: data,
    method: 'post'
  })
}

// 物业位置
export const selectWuYeWeiZhiInfo = (data) => {
  return axios.request({
    url: '/api/as/dq/partyandmassservice/getPartWyCompGeomInfo',
    data: data,
    method: 'post'
  })
}
// 查询楼群数
export const selecLouQunNum = (data) => {
  return axios.request({
    url: '/api/ac/dq/partyAMassService/selectBuildingNumber',
    data: data,
    method: 'post'
  })
}
